-
Notifications
You must be signed in to change notification settings - Fork 8.2k
modules: hostap: fix DPP build error #79899
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modules: hostap: fix DPP build error #79899
Conversation
|
to fix issue #79897 |
528ea3c to
d67d103
Compare
|
Please add relevant information why the old commit needs to be reverted to the commit message. |
d67d103 to
24eca1c
Compare
updated |
|
But why do we need to revert the commit 1da74ef, what kind of issue it is causing now? |
Pls check this bug #79897. |
|
But wouldn't the original issue then be present what the 1da74ef is fixing if we revert it? |
If hostap disables DPP (by disabling CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP, which is zephyr only way to disable DPP), |
Please see #79897 (comment) just including the header file is enough to get this error, but for some reason not seen with upstream. |
Fix DPP build error when HOSTAPD enabled and DPP disabled. Guard hapd_dpp_dispatch in both CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP and CONFIG_WIFI_NM_HOSTAPD_AP. Signed-off-by: Fengming Ye <[email protected]>
24eca1c to
a8fd8d5
Compare
|
@jukkar @krish2718 updated fix. thanks for clarification. |
|
Not sure about twister policies in upstream, but should we add these combinations to avoid such issues? |
That would be a good idea to add various config combinations to tests, not sure if |
Just saw a PR merged with |
Yeah we could, I can prepare a PR for that. |
Fix DPP build error when HOSTAPD enabled and DPP disabled.
Guard hapd_dpp_dispatch in both CONFIG_WIFI_NM_WPA_SUPPLICANT_DPP
and CONFIG_WIFI_NM_HOSTAPD_AP.